import request from '@/utils/request'

// 查询视频管理列表
export function listVideoManage(query) {
  return request({
    url: '/operate/VideoManage/list',
    method: 'get',
    params: query
  })
}

// 查询视频管理详细
export function getVideoManage(id) {
  return request({
    url: '/operate/VideoManage/' + id,
    method: 'get'
  })
}


export function addBlackList(data){
  return request({
    url: '/blacklist/list/addBlackList',
    method: 'post',
    data: data
  })
}


// 新增视频管理
export function addVideoManage(data) {
  return request({
    url: '/operate/VideoManage',
    method: 'post',
    data: data
  })
}

// 修改视频管理
export function updateVideoManage(data) {
  return request({
    url: '/operate/VideoManage',
    method: 'put',
    data: data
  })
}

// 删除视频管理
export function delVideoManage(id) {
  return request({
    url: '/operate/VideoManage/' + id,
    method: 'delete'
  })
}
